home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / appkit / NXEPSImageRep.h < prev    next >
Text File  |  1991-10-19  |  2KB  |  56 lines

  1. /*
  2.     NXEPSImageRep.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "NXImageRep.h"
  8. #import <objc/List.h>
  9. #import <streams/streams.h>
  10. #import <objc/zone.h>
  11.  
  12. @interface NXEPSImageRep : NXImageRep
  13. {
  14.     char               *_fileName;
  15.     NXPoint             _bBoxOrigin;
  16.     char               *_memory;
  17.     int                 _epsLen;
  18.     short               _epsOffset;
  19.     short        _reservedShort;
  20.     char               *_otherName;
  21.     int                 _reservedInt;
  22. }
  23.  
  24. - initFromSection:(const char *)fileName;
  25. - initFromFile:(const char *)fileName;
  26. - initFromStream:(NXStream *)stream;
  27.  
  28. + (List *)newListFromSection:(const char *)fileName;
  29. + (List *)newListFromFile:(const char *)fileName;
  30. + (List *)newListFromStream:(NXStream *)stream;
  31. + (List *)newListFromSection:(const char *)fileName zone:(NXZone *)zone;
  32. + (List *)newListFromFile:(const char *)fileName zone:(NXZone *)zone;
  33. + (List *)newListFromStream:(NXStream *)stream zone:(NXZone *)zone;
  34.  
  35. - (BOOL)drawIn:(const NXRect *)rect;
  36. - (BOOL)draw;
  37. - prepareGState;
  38. - getEPS:(char **)epsString length:(int *)length;
  39. - getBoundingBox:(NXRect *)rect;
  40. - read:(NXTypedStream *)stream;
  41. - write:(NXTypedStream *)stream;
  42. - copyFromZone:(NXZone *)zone;
  43. - free;
  44.  
  45. /* 
  46.  * The following new... methods are now obsolete.  They remain in this  
  47.  * interface file for backward compatibility only.  Use Object's alloc method  
  48.  * and the init... methods defined in this class instead.
  49.  */
  50. + newFromSection:(const char *)fileName;
  51. + newFromFile:(const char *)fileName;
  52. + newFromStream:(NXStream *)stream;
  53.  
  54. @end
  55.  
  56.